package scau.erps.view.business.team;

import java.awt.BorderLayout;

import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;

/**
 * 我的报表对话框
 * @author ZJC
 *
 */
public class MyReportDialog extends JDialog {
	private static final long serialVersionUID = 1L;
	public MyReportDialog() {
		this.setTitle("我的报表");
		this.setSize(1024, 700);
		this.setResizable(false);
		this.setLocationRelativeTo(null);
		this.setDefaultCloseOperation(HIDE_ON_CLOSE);
		JPanel contentPanel = new JPanel();
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		MyCostPanel costPanel = new MyCostPanel();
		MyProfitLossPanel profitLossPanel = new MyProfitLossPanel();
		MyAssetsPanel assetsPanel = new MyAssetsPanel();
		tabbedPane.add(costPanel, "综合费用");
		tabbedPane.add(profitLossPanel, "损益表");
		tabbedPane.add(assetsPanel, "资产负债表");
		contentPanel.add(tabbedPane, BorderLayout.CENTER);
		this.setContentPane(contentPanel);
		this.setModal(true);
		this.setVisible(true);
	}

}
